<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 4.01 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/jsp/common/taglibs.jsp"%>
<html>
<head>
<title><s:text name="head.faq"/></title>
<script type="text/javascript" src="${ctx}/script/common/common.js"></script>
<script type="text/javascript" src="${ctx}/script/jquery-1.2.3.min.js"></script>
<script type="text/javascript" src="${ctx}/js/Ajax.js"></script>
<script type="text/javascript">
	function getContentAjax(id)
	{
		var divElement = document.getElementById('appendContent'+id);
		var innerhtml= divElement.innerHTML;
		if(innerhtml == '')
		{
			$.ajax({
			  type: "POST",
			  url: "${ctx}/infomanager/activityForm!viewCheck.action?method=viewCheck&infotype=2",
			  data: "id="+id,
			 success: function(msg){
				 divElement.innerHTML = msg;
			 }
			}); 
		}else
		{
			if(divElement.style.display == "none")
				divElement.style.display ="block";
			else
				divElement.style.display = "none";
		}
	}
</script>
<%@ include file="/jsp/common/meta.jsp"%>

<link rel="stylesheet" type="text/css"
		href="${ctx}/css/page/layout.css" />
<style type="text/css">
	.p_activity_title{ 
			margin-top:10px;
			font-size:18px;
			font-weight:bold; 
			color:#1C3260; 
			font-family:"幼圆"; 
		}
	.p_content{
		text-align:left;
		background:#ffffff;
		line-height:24px;
		font-size:12px;
		color:#00000;
		width:600px;
		border-left: 1px solid #C4AF92;
		border-right:1px solid #C4AF92;
	}
	.p_content_line{
		border-bottom:1px solid #C4AF92;
		width:599.5px;
		margin-top:0px;
	}
	.products{
		width:100%;
	}
	.activity_table{
		position: relative; 
		left: 20px; 
		top: 43px;
		bottom: 30px;
	}
.breadcrumbs{
background:url(/fireweb/images/page/02p_type.jpg) no-repeat 0 8px;
FONT-FAMILY: Arial, Helvetica, sans-serif; 
COLOR: #1C3260; FONT-SIZE: 11px;
text-align:left;
padding-left:20px;padding-top:20px;
}
</style>
</head>
<body>

<%@ include file="/jsp/template/header.jsp"%>

<div class="content_info">
	<table>
		<tr>
			<td class="leftList" vAlign="top">

					<table>
						<tr>
							<td> <c:import url="/jsp/common/${context_lanagure}/products.html"	charEncoding="UTF-8"></c:import> 
							</td>
						</tr>
						<tr>
							<td> <c:import url="/jsp/common/${context_lanagure}/corpinfo.html"	charEncoding="UTF-8"></c:import> 
							</td>
						</tr>
						
					</table>

					</td>
	<td class="contentList" vAlign="top">
		<DIV class=breadcrumbs>
		<H2><A class=headerNavigation href="${ctx}"><s:text name="head.faq"/></A></H2>
		<SPAN class=p_link><s:text name="head.currentposistion"/>&gt;<A class=position_aclass href="${ctx}"><s:text name="head.homepage"/> </A>--&gt; <A id=position_nowtitle><s:text name="head.faq"/></A> </SPAN>
		</DIV>
		<input type="hidden" name="method" value="list" />
		<div class="products" >
			<logic:present name="ActivityRange">
			
				<UL style="LIST-STYLE-POSITION: outside; LIST-STYLE-IMAGE: url(/fireweb/images/faq_bullet.gif)" ;>
				<table class="activity_table">
				
					<logic:iterate id="activity" name="ActivityRange" property="records" indexId="index">
					<tr>
						<td>
											
											<c:if test="${index%2 >0}">
												<DIV style="PADDING-BOTTOM: 2px; PADDING-LEFT: 2px; PADDING-RIGHT: 2px; PADDING-TOP: 2px;text-align:left;">
												<DIV style="BORDER-BOTTOM: #d6d2e6 1px solid; BORDER-LEFT: #d6d2e6 1px solid; PADDING-BOTTOM: 4px; BACKGROUND-COLOR: #edebf5; PADDING-LEFT: 4px; PADDING-RIGHT: 4px; BORDER-TOP: #d6d2e6 1px solid; BORDER-RIGHT: #d6d2e6 1px solid; PADDING-TOP: 4px" 
												onmouseover='this.style.cursor="pointer";this.style.backgroundColor="#d9d6ea"' 
												onmouseout='this.style.backgroundColor="#edebf5"' onclick="getContentAjax('${activity.id}')">
												<LI>
												<B><a href="#" >【${index+1}】<span class="p_activity_title">${activity.title}</span></a></B>
												</LI></DIV>
												</DIV>
											</c:if>
											<c:if test="${index%2 < 1}">
												<DIV style="PADDING-BOTTOM: 2px; PADDING-LEFT: 2px; PADDING-RIGHT: 2px; PADDING-TOP: 2px;text-align:left;">
												<DIV style="BORDER-BOTTOM: #d6d2e6 1px solid; BORDER-LEFT: #d6d2e6 1px solid; PADDING-BOTTOM: 4px; BACKGROUND-COLOR: #ffffff; PADDING-LEFT: 4px; PADDING-RIGHT: 4px; BORDER-TOP: #d6d2e6 1px solid; BORDER-RIGHT: #d6d2e6 1px solid; PADDING-TOP: 4px"
												onmouseover='this.style.cursor="pointer";this.style.backgroundColor="#d9d6ea"' 
												onmouseout='this.style.backgroundColor="#ffffff"' onclick="getContentAjax('${activity.id}')">
												<LI>
												<B><a href="#" >【${index+1}】<span class="p_activity_title">${activity.title}</span></a></B>
												</LI>
												</DIV></DIV>
										</c:if>
								
						</td>
						<td>
						</td>
				</tr>
				<tr>
					<td class="p_content_line">
										<div id="appendContent${activity.id}" class="p_content" style="display:none;">
											${activity.content }
										</div>	
										
					</td>
					<td>
					</td>
				</tr>
			</logic:iterate>
			</table>
			</UL>
			</logic:present>
			
		</div>
		
		
			</td>
		</tr>
		
	</table>
	
	
</div>
<div style="height:20px;"></div>


<c:import
	url="/jsp/common/${context_lanagure}/bottom.html" charEncoding="UTF-8"></c:import> 
</body>
</html>